deltas: Drop async content writes
authorColin Walters <walters@verbum.org>
Wed, 21 Jan 2015 04:21:26 +0000 (23:21 -0500)
committerColin Walters <walters@verbum.org>
Wed, 21 Jan 2015 04:21:26 +0000 (23:21 -0500)
commit6d1de23f878611e9de6a9a20e2f02d818a60edb0
tree3204696f88b9b0d5163d8c82fcb498411f6ef5c4
parentd49fc876bb0b387e40c9ad11095d1d75919dd97d
deltas: Drop async content writes

This caused deadlocks and/or EMFILE due to the interaction between
threads and fds.  What we really want here is a better pull-based
model for parsing content objects.

Another idea would be to change static deltas so that content objects
have a special opcode that includes their metadata first, and then do
rollsums etc. only over actual content.
src/libostree/ostree-repo-static-delta-processing.c